package edu.stu.cs.software.family.admin.service.impl;

import javax.transaction.Transactional;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import edu.stu.cs.software.family.admin.dao.TeamDao;
import edu.stu.cs.software.family.admin.domain.Team;
import edu.stu.cs.software.family.admin.service.TeamManager;
import edu.stu.cs.software.family.base.service.impl.GenericTreeManagerImpl;
/**
 * The interface base class inherits the GenericManagerImpl class
 * @author Administrator
 *
 */
@Service("teamManager")
@Transactional
public class TeamManagerImpl extends GenericTreeManagerImpl<Team, Long> implements TeamManager {

    TeamDao teamDao;

    @Autowired
    public void setGroupDao(TeamDao teamDao) {
        this.teamDao = teamDao;
        this.treeDao = this.teamDao;
        this.dao = this.treeDao;
    }

}
